package demo.table;

public class RiskTagTst {
    public long uid;
    public String type;
    public String val;
    private boolean flag;

    public RiskTagTst() {}

    public RiskTagTst(long uid, String type, String val) {
        this.uid = uid;
        this.type = type;
        this.val = val;
    }

    public RiskTagTst(long uid, String type, String val, boolean flag) {
        this.uid = uid;
        this.type = type;
        this.val = val;
        this.flag = flag;
    }

    public static RiskTagTst of(long uid, String type, String val, boolean flag) {
        return new RiskTagTst(uid, type, val, flag);
    }

    public boolean getFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "RiskTag{" + "uid=" + uid + ", type='" + type + '\'' + ", val='" + val + '\'' + '}';
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getVal() {
        return val;
    }

    public void setVal(String val) {
        this.val = val;
    }
}
